# -*- coding: utf-8 -*-
class PurchaseOrderHx < ActiveRecord::Base
  has_many :purchase_order_hx_details ,:dependent => :destroy      #级联删除子表

  belongs_to :employee      #制单人员
  belongs_to :department
  belongs_to :company
end
